package com.ruoyi.archive.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 现役军人家属信息对象 s_family_of_active_soldier
 *
 * @author Allen
 * @date 2021-09-30
 */
@Data
public class SFamilyOfActiveSoldier implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /**
     * 与现役军人关系：
     * 1：父母（抚养人）；
     * 2：配偶；
     * 3：子女；
     * 4：兄弟姐妹；
     */
    @Excel(name = "与现役军人关系")
    private Integer relation;

    /** 是否随军 */
    @Excel(name = "是否随军")
    private Integer isArmy;

    /** 现就业状况 */
    @Excel(name = "现就业状况")
    private Integer employmentSituation;

    /** 现役军人姓名 */
    @Excel(name = "现役军人姓名")
    private String soldierName;

    /** 现役军人性别 */
    @Excel(name = "现役军人性别")
    private Integer soldierSex;

    /** 现役军人职级 */
    @Excel(name = "现役军人职级")
    private Integer soldierLevel;

    /** 现役军人身份证号 */
    @Excel(name = "现役军人身份证号")
    private String soldierIdCard;

    /** 现役军队证件号 */
    @Excel(name = "现役军队证件号")
    private String soldierCertificate;

    /** 现役军人入伍时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "现役军人入伍时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date soldierEnlistedDate;
}
